package cn.ad.model;


import org.apache.ibatis.type.Alias;

import java.math.BigDecimal;

/**
 * User: shirongkang
 * Date: 2016/8/29
 * Time: 18:16
 * Desc:策略分组参数
 */
@Alias("strategyGroupModel")
public class StrategyGroupModel {

    /**
     * 数据库持久化唯一标识
     */
    private int  id;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    /**
     * 策略分组名称
     */
    private String name;

    /**
     * 资源类型 1ADN 2ADX
     */
    private String resourceType;


    /**
     * 所属订单id
     */
    private int campaignId;
    /**
     *
     */
    private BigDecimal dayBudget;
    /**
     * 投放速度 0 平均 1 尽快 默认为0 平均
     */
    private int speedMode;
    /**
     * 状态 -1 删除 0 初始 1 启用 2 停用  默认为1
     */
    private Integer status;
    /**
     * 关联策略
     */
    private int strategyCount;


    public String getResourceType() {
        return resourceType;
    }

    public void setResourceType(String resourceType) {
        this.resourceType = resourceType;
    }

    public int getCampaignId() {
        return campaignId;
    }

    public void setCampaignId(int campaignId) {
        this.campaignId = campaignId;
    }

    public BigDecimal getDayBudget() {
        return dayBudget;
    }

    public void setDayBudget(BigDecimal dayBudget) {
        this.dayBudget = dayBudget;
    }

    public int getSpeedMode() {
        return speedMode;
    }

    public void setSpeedMode(int speedMode) {
        this.speedMode = speedMode;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    public int getStrategyCount() {
        return strategyCount;
    }

    public void setStrategyCount(int strategyCount) {
        this.strategyCount = strategyCount;
    }
}
